Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

168
Views
¿Cómo puedo resolver "evitar el desplazamiento táctil" en la biblioteca SwiperJS?

Gif para mostrar el problema: ingrese la descripción de la imagen aquí

 <Swiper className="panel-swiper" initialSlide={value} onSwiper={setSwiper} onSlideChange={handleSlideChanging} simulateTouch={false} > <SwiperSlide>Panel 0</SwiperSlide> <SwiperSlide>Panel 1</SwiperSlide> <SwiperSlide>Panel 2</SwiperSlide> <SwiperSlide> <League /> <League /> <League /> </SwiperSlide> <SwiperSlide>Panel 4</SwiperSlide> <SwiperSlide>Panel 5</SwiperSlide> <SwiperSlide>Panel 6</SwiperSlide> <SwiperSlide>Panel 7</SwiperSlide> <SwiperSlide>Panel 8</SwiperSlide> <SwiperSlide>Panel 9</SwiperSlide> </Swiper>

Como puede ver, cuando quiero usar el toque para desplazarme por la página, lo impidió. pero al usar la rueda del mouse funciona correctamente.

Debo mencionar que estoy usando SwiperJS.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Así es como resolví este problema, cuando importé los módulos adicionales ( A11y, Navigation, Pagination ), el problema desapareció.

 import { Swiper, SwiperSlide } from 'swiper/react'; import { A11y, Navigation, Pagination } from 'swiper'; <Swiper modules={[Navigation, Pagination, A11y]} spaceBetween={50} slidesPerView={1} navigation pagination={{ clickable: true }} > <SwiperSlide> test </SwiperSlide> </Swiper>
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!